﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbMapper.model
{


    public class Mapper
    {
        //源数据库
        public string SourcePath { get; set; }
        //目标数据库
        public DbInfo TargetDb { get; set; }
        //源表
        public Table SourceTable { get; set; }
        //目标表
        public Table TargetTable { get; set; }

    
        //默认值
        public List<DefaultKey> DefaultValue { get; set; }
    
    

        public Mapper()
        {
        }

        public Mapper(Table sourceTb, Table targetTb, DbInfo targetDb)
        {
         
            SourceTable = sourceTb;
            TargetDb = targetDb;
            TargetTable = targetTb;
        }

    }
}